package com.crp.unitalinforbaseplat.app.core;

/**
 * @program: praduationppmsystem
 * @description:MessageUtil
 * @author: chenzhicai
 * @create: 2018-09-02-14-57
 **/
public class MessageUtil {
    public MessageUtil() {
    }

    public static Message createMessage(boolean isSuccess, String message) {
        return new BoolMessage(isSuccess, message);
    }

    public static BoolMessage createMessageByRecord(boolean isSuccess, String message) {
        return new BoolMessage(isSuccess, message);
    }
}

    